package com.caojing.haolemai.ui.search;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.SearchHintBean;
import com.caojing.haolemai.httputils.HttpUtils;

/**
 * Created by CaoJing on 2016/10/19.
 */
public class SearchContract {
    public interface Model extends IBaseModel{
        void getSerachHintBean(HttpUtils.HttpCallBack<SearchHintBean> searchHintBeanHttpCallBack);
    }
    public interface View extends IBaseView{
        void onSuccessGetHint(SearchHintBean searchHintBean);
        void onFailGetHint(String msg);
    }
    public interface Presenter extends IBasePresenter{
        void initData();
    }
}
